<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: calendar   CalendarNavigator.js  (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>Calendar&nbsp; <span class="subtitle">2.9.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_calendar.html" title="calendar">calendar</a>
                
                 &gt; CalendarNavigator.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
                        <div class="highlight"><pre><span class="cm">/**</span>
<span class="cm"> * The CalendarNavigator is used along with a Calendar/CalendarGroup to </span>
<span class="cm"> * provide a Month/Year popup navigation control, allowing the user to navigate </span>
<span class="cm"> * to a specific month/year in the Calendar/CalendarGroup without having to </span>
<span class="cm"> * scroll through months sequentially</span>
<span class="cm"> *</span>
<span class="cm"> * @namespace YAHOO.widget</span>
<span class="cm"> * @class CalendarNavigator</span>
<span class="cm"> * @constructor</span>
<span class="cm"> * @param {Calendar|CalendarGroup} cal The instance of the Calendar or CalendarGroup to which this CalendarNavigator should be attached.</span>
<span class="cm"> */</span>
<span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">cal</span><span class="p">)</span> <span class="p">{</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">init</span><span class="p">(</span><span class="nx">cal</span><span class="p">);</span>
<span class="p">};</span>

<span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
    <span class="c1">// Setup static properties (inside anon fn, so that we can use shortcuts)</span>
    <span class="kd">var</span> <span class="nx">CN</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * YAHOO.widget.CalendarNavigator.CLASSES contains constants</span>
<span class="cm">     * for the class values applied to the CalendarNaviatgator&#39;s </span>
<span class="cm">     * DOM elements</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.CLASSES</span>
<span class="cm">     * @type Object</span>
<span class="cm">     * @static</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">CLASSES</span> <span class="o">=</span> <span class="p">{</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the Calendar Navigator&#39;s bounding box</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.NAV</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">NAV</span> <span class="o">:</span><span class="s2">&quot;yui-cal-nav&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the Calendar/CalendarGroup&#39;s bounding box to indicate</span>
<span class="cm">         * the Navigator is currently visible</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.NAV_VISIBLE</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">NAV_VISIBLE</span><span class="o">:</span> <span class="s2">&quot;yui-cal-nav-visible&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the Navigator mask&#39;s bounding box</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.MASK</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">MASK</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-mask&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the year label/control bounding box</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.YEAR</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">YEAR</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-y&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the month label/control bounding box</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.MONTH</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">MONTH</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-m&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the submit/cancel button&#39;s bounding box</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.BUTTONS</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">BUTTONS</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-b&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to buttons wrapping element</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.BUTTON</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">BUTTON</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-btn&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the validation error area&#39;s bounding box</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.ERROR</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">ERROR</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-e&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the year input control</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.YEAR_CTRL</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">YEAR_CTRL</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-yc&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to the month input control</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.MONTH_CTRL</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">MONTH_CTRL</span> <span class="o">:</span> <span class="s2">&quot;yui-cal-nav-mc&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to controls with invalid data (e.g. a year input field with invalid an year)</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.INVALID</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">INVALID</span> <span class="o">:</span> <span class="s2">&quot;yui-invalid&quot;</span><span class="p">,</span>
        <span class="cm">/**</span>
<span class="cm">         * Class applied to default controls</span>
<span class="cm">         * @property YAHOO.widget.CalendarNavigator.CLASSES.DEFAULT</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @static</span>
<span class="cm">         */</span>
        <span class="nx">DEFAULT</span> <span class="o">:</span> <span class="s2">&quot;yui-default&quot;</span>
    <span class="p">};</span>

    <span class="cm">/**</span>
<span class="cm">     * Object literal containing the default configuration values for the CalendarNavigator</span>
<span class="cm">     * The configuration object is expected to follow the format below, with the properties being</span>
<span class="cm">     * case sensitive.</span>
<span class="cm">     * &lt;dl&gt;</span>
<span class="cm">     * &lt;dt&gt;strings&lt;/dt&gt;</span>
<span class="cm">     * &lt;dd&gt;&lt;em&gt;Object&lt;/em&gt; :  An object with the properties shown below, defining the string labels to use in the Navigator&#39;s UI</span>
<span class="cm">     *     &lt;dl&gt;</span>
<span class="cm">     *         &lt;dt&gt;month&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;HTML&lt;/em&gt; : The markup to use for the month label. Defaults to &quot;Month&quot;.&lt;/dd&gt;</span>
<span class="cm">     *         &lt;dt&gt;year&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;HTML&lt;/em&gt; : The markup to use for the year label. Defaults to &quot;Year&quot;.&lt;/dd&gt;</span>
<span class="cm">     *         &lt;dt&gt;submit&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;HTML&lt;/em&gt; : The markup to use for the submit button label. Defaults to &quot;Okay&quot;.&lt;/dd&gt;</span>
<span class="cm">     *         &lt;dt&gt;cancel&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;HTML&lt;/em&gt; : The markup to use for the cancel button label. Defaults to &quot;Cancel&quot;.&lt;/dd&gt;</span>
<span class="cm">     *         &lt;dt&gt;invalidYear&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;HTML&lt;/em&gt; : The markup to use for invalid year values. Defaults to &quot;Year needs to be a number&quot;.&lt;/dd&gt;</span>
<span class="cm">     *     &lt;/dl&gt;</span>
<span class="cm">     * &lt;/dd&gt;</span>
<span class="cm">     * &lt;dt&gt;monthFormat&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;String&lt;/em&gt; : The month format to use. Either YAHOO.widget.Calendar.LONG, or YAHOO.widget.Calendar.SHORT. Defaults to YAHOO.widget.Calendar.LONG&lt;/dd&gt;</span>
<span class="cm">     * &lt;dt&gt;initialFocus&lt;/dt&gt;&lt;dd&gt;&lt;em&gt;String&lt;/em&gt; : Either &quot;year&quot; or &quot;month&quot; specifying which input control should get initial focus. Defaults to &quot;year&quot;&lt;/dd&gt;</span>
<span class="cm">     * &lt;/dl&gt;</span>
<span class="cm">     * @property DEFAULT_CONFIG</span>
<span class="cm">     * @type Object</span>
<span class="cm">     * @static</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">DEFAULT_CONFIG</span> <span class="o">=</span> <span class="p">{</span>
        <span class="nx">strings</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">month</span><span class="o">:</span> <span class="s2">&quot;Month&quot;</span><span class="p">,</span>
            <span class="nx">year</span><span class="o">:</span> <span class="s2">&quot;Year&quot;</span><span class="p">,</span>
            <span class="nx">submit</span><span class="o">:</span> <span class="s2">&quot;Okay&quot;</span><span class="p">,</span>
            <span class="nx">cancel</span><span class="o">:</span> <span class="s2">&quot;Cancel&quot;</span><span class="p">,</span>
            <span class="nx">invalidYear</span> <span class="o">:</span> <span class="s2">&quot;Year needs to be a number&quot;</span>
        <span class="p">},</span>
        <span class="nx">monthFormat</span><span class="o">:</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">Calendar</span><span class="p">.</span><span class="nx">LONG</span><span class="p">,</span>
        <span class="nx">initialFocus</span><span class="o">:</span> <span class="s2">&quot;year&quot;</span>
    <span class="p">};</span>

    <span class="cm">/**</span>
<span class="cm">     * Object literal containing the default configuration values for the CalendarNavigator</span>
<span class="cm">     * @property _DEFAULT_CFG</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @deprecated Made public. See the public DEFAULT_CONFIG property</span>
<span class="cm">     * @type Object</span>
<span class="cm">     * @static</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">_DEFAULT_CFG</span> <span class="o">=</span> <span class="nx">CN</span><span class="p">.</span><span class="nx">DEFAULT_CONFIG</span><span class="p">;</span>


    <span class="cm">/**</span>
<span class="cm">     * The suffix added to the Calendar/CalendarGroup&#39;s ID, to generate</span>
<span class="cm">     * a unique ID for the Navigator and it&#39;s bounding box.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.ID_SUFFIX</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @final</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">ID_SUFFIX</span> <span class="o">=</span> <span class="s2">&quot;_nav&quot;</span><span class="p">;</span>
    <span class="cm">/**</span>
<span class="cm">     * The suffix added to the Navigator&#39;s ID, to generate</span>
<span class="cm">     * a unique ID for the month control.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.MONTH_SUFFIX</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String </span>
<span class="cm">     * @final</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">MONTH_SUFFIX</span> <span class="o">=</span> <span class="s2">&quot;_month&quot;</span><span class="p">;</span>
    <span class="cm">/**</span>
<span class="cm">     * The suffix added to the Navigator&#39;s ID, to generate</span>
<span class="cm">     * a unique ID for the year control.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.YEAR_SUFFIX</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @final</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">YEAR_SUFFIX</span> <span class="o">=</span> <span class="s2">&quot;_year&quot;</span><span class="p">;</span>
    <span class="cm">/**</span>
<span class="cm">     * The suffix added to the Navigator&#39;s ID, to generate</span>
<span class="cm">     * a unique ID for the error bounding box.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.ERROR_SUFFIX</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @final</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">ERROR_SUFFIX</span> <span class="o">=</span> <span class="s2">&quot;_error&quot;</span><span class="p">;</span>
    <span class="cm">/**</span>
<span class="cm">     * The suffix added to the Navigator&#39;s ID, to generate</span>
<span class="cm">     * a unique ID for the &quot;Cancel&quot; button.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.CANCEL_SUFFIX</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @final</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">CANCEL_SUFFIX</span> <span class="o">=</span> <span class="s2">&quot;_cancel&quot;</span><span class="p">;</span>
    <span class="cm">/**</span>
<span class="cm">     * The suffix added to the Navigator&#39;s ID, to generate</span>
<span class="cm">     * a unique ID for the &quot;Submit&quot; button.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.SUBMIT_SUFFIX</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @final</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">SUBMIT_SUFFIX</span> <span class="o">=</span> <span class="s2">&quot;_submit&quot;</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * The number of digits to which the year input control is to be limited.</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.YR_MAX_DIGITS</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type Number</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">YR_MAX_DIGITS</span> <span class="o">=</span> <span class="mi">4</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * The amount by which to increment the current year value,</span>
<span class="cm">     * when the arrow up/down key is pressed on the year control</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.YR_MINOR_INC</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type Number</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">YR_MINOR_INC</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * The amount by which to increment the current year value,</span>
<span class="cm">     * when the page up/down key is pressed on the year control</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.YR_MAJOR_INC</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type Number</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">YR_MAJOR_INC</span> <span class="o">=</span> <span class="mi">10</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * Artificial delay (in ms) between the time the Navigator is hidden</span>
<span class="cm">     * and the Calendar/CalendarGroup state is updated. Allows the user</span>
<span class="cm">     * the see the Calendar/CalendarGroup page changing. If set to 0</span>
<span class="cm">     * the Calendar/CalendarGroup page will be updated instantly</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.UPDATE_DELAY</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type Number</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">UPDATE_DELAY</span> <span class="o">=</span> <span class="mi">50</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * Regular expression used to validate the year input</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.YR_PATTERN</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type RegExp</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">YR_PATTERN</span> <span class="o">=</span> <span class="sr">/^\d+$/</span><span class="p">;</span>
    <span class="cm">/**</span>
<span class="cm">     * Regular expression used to trim strings</span>
<span class="cm">     * @property YAHOO.widget.CalendarNavigator.TRIM</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type RegExp</span>
<span class="cm">     */</span>
    <span class="nx">CN</span><span class="p">.</span><span class="nx">TRIM</span> <span class="o">=</span> <span class="sr">/^\s*(.*?)\s*$/</span><span class="p">;</span>
<span class="p">})();</span>

<span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">prototype</span> <span class="o">=</span> <span class="p">{</span>

    <span class="cm">/**</span>
<span class="cm">     * The unique ID for this CalendarNavigator instance</span>
<span class="cm">     * @property id</span>
<span class="cm">     * @type String</span>
<span class="cm">     */</span>
    <span class="nx">id</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * The Calendar/CalendarGroup instance to which the navigator belongs</span>
<span class="cm">     * @property cal</span>
<span class="cm">     * @type {Calendar|CalendarGroup}</span>
<span class="cm">     */</span>
    <span class="nx">cal</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to render the navigator&#39;s bounding box</span>
<span class="cm">     * @property navEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">navEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to render the navigator&#39;s mask</span>
<span class="cm">     * @property maskEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">maskEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to input the year</span>
<span class="cm">     * @property yearEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">yearEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to input the month</span>
<span class="cm">     * @property monthEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">monthEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to display validation errors</span>
<span class="cm">     * @property errorEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">errorEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to update the Calendar/Calendar group</span>
<span class="cm">     * with the month/year values</span>
<span class="cm">     * @property submitEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">submitEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>
    
    <span class="cm">/**</span>
<span class="cm">     * Reference to the HTMLElement used to hide the navigator without updating the </span>
<span class="cm">     * Calendar/Calendar group</span>
<span class="cm">     * @property cancelEl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">cancelEl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/** </span>
<span class="cm">     * Reference to the first focusable control in the navigator (by default monthEl)</span>
<span class="cm">     * @property firstCtrl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">firstCtrl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>
    
    <span class="cm">/** </span>
<span class="cm">     * Reference to the last focusable control in the navigator (by default cancelEl)</span>
<span class="cm">     * @property lastCtrl</span>
<span class="cm">     * @type HTMLElement</span>
<span class="cm">     */</span>
    <span class="nx">lastCtrl</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * The document containing the Calendar/Calendar group instance</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @property _doc</span>
<span class="cm">     * @type HTMLDocument</span>
<span class="cm">     */</span>
    <span class="nx">_doc</span> <span class="o">:</span> <span class="kc">null</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Internal state property for the current year displayed in the navigator</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @property _year</span>
<span class="cm">     * @type Number</span>
<span class="cm">     */</span>
    <span class="nx">_year</span><span class="o">:</span> <span class="kc">null</span><span class="p">,</span>
    
    <span class="cm">/**</span>
<span class="cm">     * Internal state property for the current month index displayed in the navigator</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @property _month</span>
<span class="cm">     * @type Number</span>
<span class="cm">     */</span>
    <span class="nx">_month</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Private internal state property which indicates whether or not the </span>
<span class="cm">     * Navigator has been rendered.</span>
<span class="cm">     * @private</span>
<span class="cm">     * @property __rendered</span>
<span class="cm">     * @type Boolean</span>
<span class="cm">     */</span>
    <span class="nx">__rendered</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Init lifecycle method called as part of construction</span>
<span class="cm">     * </span>
<span class="cm">     * @method init</span>
<span class="cm">     * @param {Calendar} cal The instance of the Calendar or CalendarGroup to which this CalendarNavigator should be attached</span>
<span class="cm">     */</span>
    <span class="nx">init</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">cal</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">calBox</span> <span class="o">=</span> <span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">;</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">cal</span> <span class="o">=</span> <span class="nx">cal</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">=</span> <span class="nx">calBox</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">ID_SUFFIX</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_doc</span> <span class="o">=</span> <span class="nx">calBox</span><span class="p">.</span><span class="nx">ownerDocument</span><span class="p">;</span>

        <span class="cm">/**</span>
<span class="cm">         * Private flag, to identify IE Quirks</span>
<span class="cm">         * @private</span>
<span class="cm">         * @property __isIEQuirks</span>
<span class="cm">         */</span>
        <span class="kd">var</span> <span class="nx">ie</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">.</span><span class="nx">ie</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">__isIEQuirks</span> <span class="o">=</span> <span class="p">(</span><span class="nx">ie</span> <span class="o">&amp;&amp;</span> <span class="p">((</span><span class="nx">ie</span> <span class="o">&lt;=</span> <span class="mi">6</span><span class="p">)</span> <span class="o">||</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_doc</span><span class="p">.</span><span class="nx">compatMode</span> <span class="o">==</span> <span class="s2">&quot;BackCompat&quot;</span><span class="p">)));</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Displays the navigator and mask, updating the input controls to reflect the </span>
<span class="cm">     * currently set month and year. The show method will invoke the render method</span>
<span class="cm">     * if the navigator has not been renderered already, allowing for lazy rendering</span>
<span class="cm">     * of the control.</span>
<span class="cm">     * </span>
<span class="cm">     * The show method will fire the Calendar/CalendarGroup&#39;s beforeShowNav and showNav events</span>
<span class="cm">     * </span>
<span class="cm">     * @method show</span>
<span class="cm">     */</span>
    <span class="nx">show</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">CLASSES</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">beforeShowNavEvent</span><span class="p">.</span><span class="nx">fire</span><span class="p">())</span> <span class="p">{</span>
            <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="k">this</span><span class="p">.</span><span class="nx">__rendered</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">render</span><span class="p">();</span>
            <span class="p">}</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">clearErrors</span><span class="p">();</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_updateMonthUI</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_updateYearUI</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_show</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">navEl</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">setInitialFocus</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">showMask</span><span class="p">();</span>

            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">addClass</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">,</span> <span class="nx">CLASSES</span><span class="p">.</span><span class="nx">NAV_VISIBLE</span><span class="p">);</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">showNavEvent</span><span class="p">.</span><span class="nx">fire</span><span class="p">();</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Hides the navigator and mask</span>
<span class="cm">     * </span>
<span class="cm">     * The show method will fire the Calendar/CalendarGroup&#39;s beforeHideNav event and hideNav events</span>
<span class="cm">     * @method hide</span>
<span class="cm">     */</span>
    <span class="nx">hide</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">CLASSES</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">beforeHideNavEvent</span><span class="p">.</span><span class="nx">fire</span><span class="p">())</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_show</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">navEl</span><span class="p">,</span> <span class="kc">false</span><span class="p">);</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">hideMask</span><span class="p">();</span>
            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">removeClass</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">,</span> <span class="nx">CLASSES</span><span class="p">.</span><span class="nx">NAV_VISIBLE</span><span class="p">);</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">hideNavEvent</span><span class="p">.</span><span class="nx">fire</span><span class="p">();</span>
        <span class="p">}</span>
    <span class="p">},</span>
    

    <span class="cm">/**</span>
<span class="cm">     * Displays the navigator&#39;s mask element</span>
<span class="cm">     * </span>
<span class="cm">     * @method showMask</span>
<span class="cm">     */</span>
    <span class="nx">showMask</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_show</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">__isIEQuirks</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_syncMask</span><span class="p">();</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Hides the navigator&#39;s mask element</span>
<span class="cm">     * </span>
<span class="cm">     * @method hideMask</span>
<span class="cm">     */</span>
    <span class="nx">hideMask</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_show</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">,</span> <span class="kc">false</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Returns the current month set on the navigator</span>
<span class="cm">     * </span>
<span class="cm">     * Note: This may not be the month set in the UI, if </span>
<span class="cm">     * the UI contains an invalid value.</span>
<span class="cm">     * </span>
<span class="cm">     * @method getMonth</span>
<span class="cm">     * @return {Number} The Navigator&#39;s current month index</span>
<span class="cm">     */</span>
    <span class="nx">getMonth</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">_month</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Returns the current year set on the navigator</span>
<span class="cm">     * </span>
<span class="cm">     * Note: This may not be the year set in the UI, if </span>
<span class="cm">     * the UI contains an invalid value.</span>
<span class="cm">     * </span>
<span class="cm">     * @method getYear</span>
<span class="cm">     * @return {Number} The Navigator&#39;s current year value</span>
<span class="cm">     */</span>
    <span class="nx">getYear</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">_year</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Sets the current month on the Navigator, and updates the UI</span>
<span class="cm">     * </span>
<span class="cm">     * @method setMonth</span>
<span class="cm">     * @param {Number} nMonth The month index, from 0 (Jan) through 11 (Dec).</span>
<span class="cm">     */</span>
    <span class="nx">setMonth</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">nMonth</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">nMonth</span> <span class="o">&gt;=</span> <span class="mi">0</span> <span class="o">&amp;&amp;</span> <span class="nx">nMonth</span> <span class="o">&lt;</span> <span class="mi">12</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_month</span> <span class="o">=</span> <span class="nx">nMonth</span><span class="p">;</span>
        <span class="p">}</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_updateMonthUI</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Sets the current year on the Navigator, and updates the UI. If the </span>
<span class="cm">     * provided year is invalid, it will not be set.</span>
<span class="cm">     * </span>
<span class="cm">     * @method setYear</span>
<span class="cm">     * @param {Number} nYear The full year value to set the Navigator to.</span>
<span class="cm">     */</span>
    <span class="nx">setYear</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">nYear</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">yrPattern</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">YR_PATTERN</span><span class="p">;</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">YAHOO</span><span class="p">.</span><span class="nx">lang</span><span class="p">.</span><span class="nx">isNumber</span><span class="p">(</span><span class="nx">nYear</span><span class="p">)</span> <span class="o">&amp;&amp;</span> <span class="nx">yrPattern</span><span class="p">.</span><span class="nx">test</span><span class="p">(</span><span class="nx">nYear</span><span class="o">+</span><span class="s2">&quot;&quot;</span><span class="p">))</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_year</span> <span class="o">=</span> <span class="nx">nYear</span><span class="p">;</span>
        <span class="p">}</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_updateYearUI</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Renders the HTML for the navigator, adding it to the </span>
<span class="cm">     * document and attaches event listeners if it has not </span>
<span class="cm">     * already been rendered.</span>
<span class="cm">     * </span>
<span class="cm">     * @method render</span>
<span class="cm">     */</span>
    <span class="nx">render</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">beforeRenderNavEvent</span><span class="p">.</span><span class="nx">fire</span><span class="p">();</span>
        <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="k">this</span><span class="p">.</span><span class="nx">__rendered</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">createNav</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">createMask</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">applyListeners</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">__rendered</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
        <span class="p">}</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">renderNavEvent</span><span class="p">.</span><span class="nx">fire</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Creates the navigator&#39;s containing HTMLElement, it&#39;s contents, and appends </span>
<span class="cm">     * the containg element to the Calendar/CalendarGroup&#39;s container.</span>
<span class="cm">     * </span>
<span class="cm">     * @method createNav</span>
<span class="cm">     */</span>
    <span class="nx">createNav</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">NAV</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">;</span>
        <span class="kd">var</span> <span class="nx">doc</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_doc</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">d</span> <span class="o">=</span> <span class="nx">doc</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s2">&quot;div&quot;</span><span class="p">);</span>
        <span class="nx">d</span><span class="p">.</span><span class="nx">className</span> <span class="o">=</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">.</span><span class="nx">NAV</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">htmlBuf</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">renderNavContents</span><span class="p">([]);</span>

        <span class="nx">d</span><span class="p">.</span><span class="nx">innerHTML</span> <span class="o">=</span> <span class="nx">htmlBuf</span><span class="p">.</span><span class="nx">join</span><span class="p">(</span><span class="s1">&#39;&#39;</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">.</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">d</span><span class="p">);</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">navEl</span> <span class="o">=</span> <span class="nx">d</span><span class="p">;</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span> <span class="o">=</span> <span class="nx">doc</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YEAR_SUFFIX</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span> <span class="o">=</span> <span class="nx">doc</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">MONTH_SUFFIX</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span> <span class="o">=</span> <span class="nx">doc</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">ERROR_SUFFIX</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">submitEl</span> <span class="o">=</span> <span class="nx">doc</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">SUBMIT_SUFFIX</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">cancelEl</span> <span class="o">=</span> <span class="nx">doc</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">CANCEL_SUFFIX</span><span class="p">);</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">.</span><span class="nx">gecko</span> <span class="o">&amp;&amp;</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span> <span class="o">&amp;&amp;</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">type</span> <span class="o">==</span> <span class="s2">&quot;text&quot;</span><span class="p">)</span> <span class="p">{</span>
            <span class="c1">// Avoid XUL error on focus, select [ https://bugzilla.mozilla.org/show_bug.cgi?id=236791, </span>
            <span class="c1">// supposedly fixed in 1.8.1, but there are reports of it still being around for methods other than blur ]</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">setAttribute</span><span class="p">(</span><span class="s2">&quot;autocomplete&quot;</span><span class="p">,</span> <span class="s2">&quot;off&quot;</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">_setFirstLastElements</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Creates the Mask HTMLElement and appends it to the Calendar/CalendarGroups</span>
<span class="cm">     * container.</span>
<span class="cm">     * </span>
<span class="cm">     * @method createMask</span>
<span class="cm">     */</span>
    <span class="nx">createMask</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">C</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">d</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_doc</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s2">&quot;div&quot;</span><span class="p">);</span>
        <span class="nx">d</span><span class="p">.</span><span class="nx">className</span> <span class="o">=</span> <span class="nx">C</span><span class="p">.</span><span class="nx">MASK</span><span class="p">;</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">.</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">d</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span> <span class="o">=</span> <span class="nx">d</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Used to set the width/height of the mask in pixels to match the Calendar Container.</span>
<span class="cm">     * Currently only used for IE6 or IE in quirks mode. The other A-Grade browser are handled using CSS (width/height 100%).</span>
<span class="cm">     * &lt;p&gt;</span>
<span class="cm">     * The method is also registered as an HTMLElement resize listener on the Calendars container element.</span>
<span class="cm">     * &lt;/p&gt;</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @method _syncMask</span>
<span class="cm">     */</span>
    <span class="nx">_syncMask</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">c</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">;</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">c</span> <span class="o">&amp;&amp;</span> <span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">)</span> <span class="p">{</span>
            <span class="kd">var</span> <span class="nx">r</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">getRegion</span><span class="p">(</span><span class="nx">c</span><span class="p">);</span>
            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">,</span> <span class="s2">&quot;width&quot;</span><span class="p">,</span> <span class="nx">r</span><span class="p">.</span><span class="nx">right</span> <span class="o">-</span> <span class="nx">r</span><span class="p">.</span><span class="nx">left</span> <span class="o">+</span> <span class="s2">&quot;px&quot;</span><span class="p">);</span>
            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">,</span> <span class="s2">&quot;height&quot;</span><span class="p">,</span> <span class="nx">r</span><span class="p">.</span><span class="nx">bottom</span> <span class="o">-</span> <span class="nx">r</span><span class="p">.</span><span class="nx">top</span> <span class="o">+</span> <span class="s2">&quot;px&quot;</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Renders the contents of the navigator. NOTE: The contents of the array passed into this method are added to the DOM as HTML, and should be escaped by the implementor if coming from an external source.</span>
<span class="cm">     * </span>
<span class="cm">     * @method renderNavContents</span>
<span class="cm">     * </span>
<span class="cm">     * @param {HTML[]} html The HTML buffer to append the HTML to.</span>
<span class="cm">     * @return {HTML[]} A reference to the buffer passed in.</span>
<span class="cm">     */</span>
    <span class="nx">renderNavContents</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">html</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">NAV</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">,</span>
            <span class="nx">C</span> <span class="o">=</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">,</span>
            <span class="nx">h</span> <span class="o">=</span> <span class="nx">html</span><span class="p">;</span> <span class="c1">// just to use a shorter name</span>

        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;div class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">MONTH</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">renderMonth</span><span class="p">(</span><span class="nx">h</span><span class="p">);</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/div&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;div class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">YEAR</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">renderYear</span><span class="p">(</span><span class="nx">h</span><span class="p">);</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/div&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;div class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">BUTTONS</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">renderButtons</span><span class="p">(</span><span class="nx">h</span><span class="p">);</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/div&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;div class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">ERROR</span> <span class="o">+</span> <span class="s1">&#39;&quot; id=&quot;&#39;</span> <span class="o">+</span> <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">ERROR_SUFFIX</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&lt;/div&gt;&#39;</span><span class="p">;</span>

        <span class="k">return</span> <span class="nx">h</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Renders the month label and control for the navigator. NOTE: The contents of the array passed into this method are added to the DOM as HTML, and should be escaped by the implementor if coming from an external source.</span>
<span class="cm">     * </span>
<span class="cm">     * @method renderNavContents</span>
<span class="cm">     * @param {HTML[]} html The HTML buffer to append the HTML to.</span>
<span class="cm">     * @return {HTML[]} A reference to the buffer passed in.</span>
<span class="cm">     */</span>
    <span class="nx">renderMonth</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">html</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">NAV</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">,</span>
            <span class="nx">C</span> <span class="o">=</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">id</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">MONTH_SUFFIX</span><span class="p">,</span>
            <span class="nx">mf</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;monthFormat&quot;</span><span class="p">),</span>
            <span class="nx">months</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">cfg</span><span class="p">.</span><span class="nx">getProperty</span><span class="p">((</span><span class="nx">mf</span> <span class="o">==</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">Calendar</span><span class="p">.</span><span class="nx">SHORT</span><span class="p">)</span> <span class="o">?</span> <span class="s2">&quot;MONTHS_SHORT&quot;</span> <span class="o">:</span> <span class="s2">&quot;MONTHS_LONG&quot;</span><span class="p">),</span>
            <span class="nx">h</span> <span class="o">=</span> <span class="nx">html</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">months</span> <span class="o">&amp;&amp;</span> <span class="nx">months</span><span class="p">.</span><span class="nx">length</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;label for=&quot;&#39;</span> <span class="o">+</span> <span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
            <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;month&quot;</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
            <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/label&gt;&#39;</span><span class="p">;</span>
            <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;select name=&quot;&#39;</span> <span class="o">+</span> <span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;&quot; id=&quot;&#39;</span> <span class="o">+</span> <span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;&quot; class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">MONTH_CTRL</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
            <span class="k">for</span> <span class="p">(</span><span class="kd">var</span> <span class="nx">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="nx">i</span> <span class="o">&lt;</span> <span class="nx">months</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span><span class="o">++</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;option value=&quot;&#39;</span> <span class="o">+</span> <span class="nx">i</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
                <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="nx">months</span><span class="p">[</span><span class="nx">i</span><span class="p">];</span>
                <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/option&gt;&#39;</span><span class="p">;</span>
            <span class="p">}</span>
            <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/select&gt;&#39;</span><span class="p">;</span>
        <span class="p">}</span>
        <span class="k">return</span> <span class="nx">h</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Renders the year label and control for the navigator. NOTE: The contents of the array passed into this method are added to the DOM as HTML, and should be escaped by the implementor if coming from an external source. </span>
<span class="cm">     * </span>
<span class="cm">     * @method renderYear</span>
<span class="cm">     * @param {Array} html The HTML buffer to append the HTML to.</span>
<span class="cm">     * @return {Array} A reference to the buffer passed in.</span>
<span class="cm">     */</span>
    <span class="nx">renderYear</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">html</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">NAV</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">,</span>
            <span class="nx">C</span> <span class="o">=</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">id</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YEAR_SUFFIX</span><span class="p">,</span>
            <span class="nx">size</span> <span class="o">=</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YR_MAX_DIGITS</span><span class="p">,</span>
            <span class="nx">h</span> <span class="o">=</span> <span class="nx">html</span><span class="p">;</span>

        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;label for=&quot;&#39;</span> <span class="o">+</span> <span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;year&quot;</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/label&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;input type=&quot;text&quot; name=&quot;&#39;</span> <span class="o">+</span> <span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;&quot; id=&quot;&#39;</span> <span class="o">+</span> <span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;&quot; class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">YEAR_CTRL</span> <span class="o">+</span> <span class="s1">&#39;&quot; maxlength=&quot;&#39;</span> <span class="o">+</span> <span class="nx">size</span> <span class="o">+</span> <span class="s1">&#39;&quot;/&gt;&#39;</span><span class="p">;</span>
        <span class="k">return</span> <span class="nx">h</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Renders the submit/cancel buttons for the navigator. NOTE: The contents of the array passed into this method are added to the DOM as HTML, and should be escaped by the implementor if coming from an external source.</span>
<span class="cm">     * </span>
<span class="cm">     * @method renderButtons</span>
<span class="cm">     * @param {Array} html The HTML buffer to append the HTML to.</span>
<span class="cm">     * @return {Array} A reference to the buffer passed in.</span>
<span class="cm">     */</span>
    <span class="nx">renderButtons</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">html</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">C</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">;</span>
        <span class="kd">var</span> <span class="nx">h</span> <span class="o">=</span> <span class="nx">html</span><span class="p">;</span>

        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;span class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">BUTTON</span> <span class="o">+</span> <span class="s1">&#39; &#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">DEFAULT</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;button type=&quot;button&quot; id=&quot;&#39;</span> <span class="o">+</span> <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;_submit&#39;</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;submit&quot;</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/button&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/span&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;span class=&quot;&#39;</span> <span class="o">+</span> <span class="nx">C</span><span class="p">.</span><span class="nx">BUTTON</span> <span class="o">+</span><span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;button type=&quot;button&quot; id=&quot;&#39;</span> <span class="o">+</span> <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">+</span> <span class="s1">&#39;_cancel&#39;</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;cancel&quot;</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/button&gt;&#39;</span><span class="p">;</span>
        <span class="nx">h</span><span class="p">[</span><span class="nx">h</span><span class="p">.</span><span class="nx">length</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&lt;/span&gt;&#39;</span><span class="p">;</span>

        <span class="k">return</span> <span class="nx">h</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Attaches DOM event listeners to the rendered elements</span>
<span class="cm">     * &lt;p&gt;</span>
<span class="cm">     * The method will call applyKeyListeners, to setup keyboard specific </span>
<span class="cm">     * listeners</span>
<span class="cm">     * &lt;/p&gt;</span>
<span class="cm">     * @method applyListeners</span>
<span class="cm">     */</span>
    <span class="nx">applyListeners</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">;</span>

        <span class="kd">function</span> <span class="nx">yearUpdateHandler</span><span class="p">()</span> <span class="p">{</span>
            <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">validate</span><span class="p">())</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">setYear</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_getYearFromUI</span><span class="p">());</span>
            <span class="p">}</span>
        <span class="p">}</span>

        <span class="kd">function</span> <span class="nx">monthUpdateHandler</span><span class="p">()</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">setMonth</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_getMonthFromUI</span><span class="p">());</span>
        <span class="p">}</span>

        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">submitEl</span><span class="p">,</span> <span class="s2">&quot;click&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">submit</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cancelEl</span><span class="p">,</span> <span class="s2">&quot;click&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">cancel</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="s2">&quot;blur&quot;</span><span class="p">,</span> <span class="nx">yearUpdateHandler</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">,</span> <span class="s2">&quot;change&quot;</span><span class="p">,</span> <span class="nx">monthUpdateHandler</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>

        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">__isIEQuirks</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">,</span> <span class="s2">&quot;resize&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_syncMask</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">applyKeyListeners</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Removes/purges DOM event listeners from the rendered elements</span>
<span class="cm">     * </span>
<span class="cm">     * @method purgeListeners</span>
<span class="cm">     */</span>
    <span class="nx">purgeListeners</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">;</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">submitEl</span><span class="p">,</span> <span class="s2">&quot;click&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">submit</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cancelEl</span><span class="p">,</span> <span class="s2">&quot;click&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">cancel</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="s2">&quot;blur&quot;</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">,</span> <span class="s2">&quot;change&quot;</span><span class="p">);</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">__isIEQuirks</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">oDomContainer</span><span class="p">,</span> <span class="s2">&quot;resize&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_syncMask</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">purgeKeyListeners</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Attaches DOM listeners for keyboard support. </span>
<span class="cm">     * Tab/Shift-Tab looping, Enter Key Submit on Year element,</span>
<span class="cm">     * Up/Down/PgUp/PgDown year increment on Year element</span>
<span class="cm">     * &lt;p&gt;</span>
<span class="cm">     * NOTE: MacOSX Safari 2.x doesn&#39;t let you tab to buttons and </span>
<span class="cm">     * MacOSX Gecko does not let you tab to buttons or select controls,</span>
<span class="cm">     * so for these browsers, Tab/Shift-Tab looping is limited to the </span>
<span class="cm">     * elements which can be reached using the tab key.</span>
<span class="cm">     * &lt;/p&gt;</span>
<span class="cm">     * @method applyKeyListeners</span>
<span class="cm">     */</span>
    <span class="nx">applyKeyListeners</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
            <span class="nx">ua</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">;</span>

        <span class="c1">// IE/Safari 3.1 doesn&#39;t fire keypress for arrow/pg keys (non-char keys)</span>
        <span class="kd">var</span> <span class="nx">arrowEvt</span> <span class="o">=</span> <span class="p">(</span><span class="nx">ua</span><span class="p">.</span><span class="nx">ie</span> <span class="o">||</span> <span class="nx">ua</span><span class="p">.</span><span class="nx">webkit</span><span class="p">)</span> <span class="o">?</span> <span class="s2">&quot;keydown&quot;</span> <span class="o">:</span> <span class="s2">&quot;keypress&quot;</span><span class="p">;</span>

        <span class="c1">// - IE/Safari 3.1 doesn&#39;t fire keypress for non-char keys</span>
        <span class="c1">// - Opera doesn&#39;t allow us to cancel keydown or keypress for tab, but </span>
        <span class="c1">//   changes focus successfully on keydown (keypress is too late to change focus - opera&#39;s already moved on).</span>
        <span class="kd">var</span> <span class="nx">tabEvt</span> <span class="o">=</span> <span class="p">(</span><span class="nx">ua</span><span class="p">.</span><span class="nx">ie</span> <span class="o">||</span> <span class="nx">ua</span><span class="p">.</span><span class="nx">opera</span> <span class="o">||</span> <span class="nx">ua</span><span class="p">.</span><span class="nx">webkit</span><span class="p">)</span> <span class="o">?</span> <span class="s2">&quot;keydown&quot;</span> <span class="o">:</span> <span class="s2">&quot;keypress&quot;</span><span class="p">;</span>

        <span class="c1">// Everyone likes keypress for Enter (char keys) - whoo hoo!</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="s2">&quot;keypress&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleEnterKey</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>

        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="nx">arrowEvt</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleDirectionKeys</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span><span class="p">,</span> <span class="nx">tabEvt</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleTabKey</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span><span class="p">,</span> <span class="nx">tabEvt</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleShiftTabKey</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Removes/purges DOM listeners for keyboard support</span>
<span class="cm">     *</span>
<span class="cm">     * @method purgeKeyListeners</span>
<span class="cm">     */</span>
    <span class="nx">purgeKeyListeners</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
            <span class="nx">ua</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">arrowEvt</span> <span class="o">=</span> <span class="p">(</span><span class="nx">ua</span><span class="p">.</span><span class="nx">ie</span> <span class="o">||</span> <span class="nx">ua</span><span class="p">.</span><span class="nx">webkit</span><span class="p">)</span> <span class="o">?</span> <span class="s2">&quot;keydown&quot;</span> <span class="o">:</span> <span class="s2">&quot;keypress&quot;</span><span class="p">;</span>
        <span class="kd">var</span> <span class="nx">tabEvt</span> <span class="o">=</span> <span class="p">(</span><span class="nx">ua</span><span class="p">.</span><span class="nx">ie</span> <span class="o">||</span> <span class="nx">ua</span><span class="p">.</span><span class="nx">opera</span> <span class="o">||</span> <span class="nx">ua</span><span class="p">.</span><span class="nx">webkit</span><span class="p">)</span> <span class="o">?</span> <span class="s2">&quot;keydown&quot;</span> <span class="o">:</span> <span class="s2">&quot;keypress&quot;</span><span class="p">;</span>

        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="s2">&quot;keypress&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleEnterKey</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="nx">arrowEvt</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleDirectionKeys</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span><span class="p">,</span> <span class="nx">tabEvt</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleTabKey</span><span class="p">);</span>
        <span class="nx">E</span><span class="p">.</span><span class="nx">removeListener</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span><span class="p">,</span> <span class="nx">tabEvt</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleShiftTabKey</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Updates the Calendar/CalendarGroup&#39;s pagedate with the currently set month and year if valid.</span>
<span class="cm">     * &lt;p&gt;</span>
<span class="cm">     * If the currently set month/year is invalid, a validation error will be displayed and the </span>
<span class="cm">     * Calendar/CalendarGroup&#39;s pagedate will not be updated.</span>
<span class="cm">     * &lt;/p&gt;</span>
<span class="cm">     * @method submit</span>
<span class="cm">     */</span>
    <span class="nx">submit</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">validate</span><span class="p">())</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">hide</span><span class="p">();</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">setMonth</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_getMonthFromUI</span><span class="p">());</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">setYear</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_getYearFromUI</span><span class="p">());</span>

            <span class="kd">var</span> <span class="nx">cal</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">;</span>

            <span class="c1">// Artificial delay, just to help the user see something changed</span>
            <span class="kd">var</span> <span class="nx">delay</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">UPDATE_DELAY</span><span class="p">;</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">delay</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
                <span class="kd">var</span> <span class="nx">nav</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>
                <span class="nb">window</span><span class="p">.</span><span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span> <span class="nx">nav</span><span class="p">.</span><span class="nx">_update</span><span class="p">(</span><span class="nx">cal</span><span class="p">);</span> <span class="p">},</span> <span class="nx">delay</span><span class="p">);</span>
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_update</span><span class="p">(</span><span class="nx">cal</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Updates the Calendar rendered state, based on the state of the CalendarNavigator</span>
<span class="cm">     * @method _update</span>
<span class="cm">     * @param cal The Calendar instance to update</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_update</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">cal</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">date</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">DateMath</span><span class="p">.</span><span class="nx">getDate</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">getYear</span><span class="p">()</span> <span class="o">-</span> <span class="nx">cal</span><span class="p">.</span><span class="nx">cfg</span><span class="p">.</span><span class="nx">getProperty</span><span class="p">(</span><span class="s2">&quot;YEAR_OFFSET&quot;</span><span class="p">),</span> <span class="k">this</span><span class="p">.</span><span class="nx">getMonth</span><span class="p">(),</span> <span class="mi">1</span><span class="p">);</span>
        <span class="nx">cal</span><span class="p">.</span><span class="nx">cfg</span><span class="p">.</span><span class="nx">setProperty</span><span class="p">(</span><span class="s2">&quot;pagedate&quot;</span><span class="p">,</span> <span class="nx">date</span><span class="p">);</span>
        <span class="nx">cal</span><span class="p">.</span><span class="nx">render</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Hides the navigator and mask, without updating the Calendar/CalendarGroup&#39;s state</span>
<span class="cm">     * </span>
<span class="cm">     * @method cancel</span>
<span class="cm">     */</span>
    <span class="nx">cancel</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">hide</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Validates the current state of the UI controls</span>
<span class="cm">     * </span>
<span class="cm">     * @method validate</span>
<span class="cm">     * @return {Boolean} true, if the current UI state contains valid values, false if not</span>
<span class="cm">     */</span>
    <span class="nx">validate</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_getYearFromUI</span><span class="p">()</span> <span class="o">!==</span> <span class="kc">null</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">clearErrors</span><span class="p">();</span>
            <span class="k">return</span> <span class="kc">true</span><span class="p">;</span>
        <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">setYearError</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">setError</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;invalidYear&quot;</span><span class="p">,</span> <span class="kc">true</span><span class="p">));</span>
            <span class="k">return</span> <span class="kc">false</span><span class="p">;</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Displays an error message in the Navigator&#39;s error panel.</span>
<span class="cm">     * </span>
<span class="cm">     * @method setError</span>
<span class="cm">     * @param {HTML} msg The markup for the error message to display. NOTE: The msg passed into this method is added to the DOM as HTML, and should be escaped by the implementor if coming from an external source. </span>
<span class="cm">     */</span>
    <span class="nx">setError</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">msg</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span><span class="p">.</span><span class="nx">innerHTML</span> <span class="o">=</span> <span class="nx">msg</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_show</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Clears the navigator&#39;s error message and hides the error panel</span>
<span class="cm">     * @method clearError </span>
<span class="cm">     */</span>
    <span class="nx">clearError</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span><span class="p">.</span><span class="nx">innerHTML</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_show</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span><span class="p">,</span> <span class="kc">false</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Displays the validation error UI for the year control</span>
<span class="cm">     * @method setYearError</span>
<span class="cm">     */</span>
    <span class="nx">setYearError</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">addClass</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">.</span><span class="nx">INVALID</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Removes the validation error UI for the year control</span>
<span class="cm">     * @method clearYearError</span>
<span class="cm">     */</span>
    <span class="nx">clearYearError</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">removeClass</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">,</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">CLASSES</span><span class="p">.</span><span class="nx">INVALID</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Clears all validation and error messages in the UI</span>
<span class="cm">     * @method clearErrors</span>
<span class="cm">     */</span>
    <span class="nx">clearErrors</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">clearError</span><span class="p">();</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">clearYearError</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Sets the initial focus, based on the configured value</span>
<span class="cm">     * @method setInitialFocus</span>
<span class="cm">     */</span>
    <span class="nx">setInitialFocus</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">el</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">submitEl</span><span class="p">,</span>
            <span class="nx">f</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">__getCfg</span><span class="p">(</span><span class="s2">&quot;initialFocus&quot;</span><span class="p">);</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">f</span> <span class="o">&amp;&amp;</span> <span class="nx">f</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">f</span> <span class="o">=</span> <span class="nx">f</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">();</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">f</span> <span class="o">==</span> <span class="s2">&quot;year&quot;</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">el</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">;</span>
                <span class="k">try</span> <span class="p">{</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">select</span><span class="p">();</span>
                <span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="nx">selErr</span><span class="p">)</span> <span class="p">{</span>
                    <span class="c1">// Ignore;</span>
                <span class="p">}</span>
            <span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nx">f</span> <span class="o">==</span> <span class="s2">&quot;month&quot;</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">el</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">;</span>
            <span class="p">}</span>
        <span class="p">}</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">el</span> <span class="o">&amp;&amp;</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">lang</span><span class="p">.</span><span class="nx">isFunction</span><span class="p">(</span><span class="nx">el</span><span class="p">.</span><span class="nx">focus</span><span class="p">))</span> <span class="p">{</span>
            <span class="k">try</span> <span class="p">{</span>
                <span class="nx">el</span><span class="p">.</span><span class="nx">focus</span><span class="p">();</span>
            <span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="nx">focusErr</span><span class="p">)</span> <span class="p">{</span>
                <span class="c1">// TODO: Fall back if focus fails?</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Removes all renderered HTML elements for the Navigator from</span>
<span class="cm">     * the DOM, purges event listeners and clears (nulls) any property</span>
<span class="cm">     * references to HTML references</span>
<span class="cm">     * @method erase</span>
<span class="cm">     */</span>
    <span class="nx">erase</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">__rendered</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">purgeListeners</span><span class="p">();</span>

            <span class="c1">// Clear out innerHTML references</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">errorEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">submitEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">cancelEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">navEl</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">navEl</span><span class="p">.</span><span class="nx">innerHTML</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span><span class="p">;</span>
            <span class="p">}</span>

            <span class="kd">var</span> <span class="nx">p</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">navEl</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">;</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">p</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">p</span><span class="p">.</span><span class="nx">removeChild</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">navEl</span><span class="p">);</span>
            <span class="p">}</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">navEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>

            <span class="kd">var</span> <span class="nx">pm</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">.</span><span class="nx">parentNode</span><span class="p">;</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">pm</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">pm</span><span class="p">.</span><span class="nx">removeChild</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span><span class="p">);</span>
            <span class="p">}</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">maskEl</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">__rendered</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Destroys the Navigator object and any HTML references</span>
<span class="cm">     * @method destroy</span>
<span class="cm">     */</span>
    <span class="nx">destroy</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">erase</span><span class="p">();</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_doc</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">cal</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">id</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Protected implementation to handle how UI elements are </span>
<span class="cm">     * hidden/shown.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _show</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_show</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">el</span><span class="p">,</span> <span class="nx">bShow</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">el</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Dom</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">el</span><span class="p">,</span> <span class="s2">&quot;display&quot;</span><span class="p">,</span> <span class="p">(</span><span class="nx">bShow</span><span class="p">)</span> <span class="o">?</span> <span class="s2">&quot;block&quot;</span> <span class="o">:</span> <span class="s2">&quot;none&quot;</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Returns the month value (index), from the month UI element</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @method _getMonthFromUI</span>
<span class="cm">     * @return {Number} The month index, or 0 if a UI element for the month</span>
<span class="cm">     * is not found</span>
<span class="cm">     */</span>
    <span class="nx">_getMonthFromUI</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">.</span><span class="nx">selectedIndex</span><span class="p">;</span>
        <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
            <span class="k">return</span> <span class="mi">0</span><span class="p">;</span> <span class="c1">// Default to Jan</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Returns the year value, from the Navitator&#39;s year UI element</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @method _getYearFromUI</span>
<span class="cm">     * @return {Number} The year value set in the UI, if valid. null is returned if </span>
<span class="cm">     * the UI does not contain a valid year value.</span>
<span class="cm">     */</span>
    <span class="nx">_getYearFromUI</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">NAV</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">yr</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">)</span> <span class="p">{</span>
            <span class="kd">var</span> <span class="nx">value</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span><span class="p">;</span>
            <span class="nx">value</span> <span class="o">=</span> <span class="nx">value</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="nx">NAV</span><span class="p">.</span><span class="nx">TRIM</span><span class="p">,</span> <span class="s2">&quot;$1&quot;</span><span class="p">);</span>

            <span class="k">if</span> <span class="p">(</span><span class="nx">NAV</span><span class="p">.</span><span class="nx">YR_PATTERN</span><span class="p">.</span><span class="nx">test</span><span class="p">(</span><span class="nx">value</span><span class="p">))</span> <span class="p">{</span>
                <span class="nx">yr</span> <span class="o">=</span> <span class="nb">parseInt</span><span class="p">(</span><span class="nx">value</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">}</span>
        <span class="k">return</span> <span class="nx">yr</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Updates the Navigator&#39;s year UI, based on the year value set on the Navigator object</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @method _updateYearUI</span>
<span class="cm">     */</span>
    <span class="nx">_updateYearUI</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span> <span class="o">&amp;&amp;</span> <span class="k">this</span><span class="p">.</span><span class="nx">_year</span> <span class="o">!==</span> <span class="kc">null</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_year</span><span class="p">;</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Updates the Navigator&#39;s month UI, based on the month value set on the Navigator object</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @method _updateMonthUI</span>
<span class="cm">     */</span>
    <span class="nx">_updateMonthUI</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">.</span><span class="nx">selectedIndex</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_month</span><span class="p">;</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Sets up references to the first and last focusable element in the Navigator&#39;s UI</span>
<span class="cm">     * in terms of tab order (Naviagator&#39;s firstEl and lastEl properties). The references</span>
<span class="cm">     * are used to control modality by looping around from the first to the last control</span>
<span class="cm">     * and visa versa for tab/shift-tab navigation.</span>
<span class="cm">     * &lt;p&gt;</span>
<span class="cm">     * See &lt;a href=&quot;#applyKeyListeners&quot;&gt;applyKeyListeners&lt;/a&gt;</span>
<span class="cm">     * &lt;/p&gt;</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @method _setFirstLastElements</span>
<span class="cm">     */</span>
    <span class="nx">_setFirstLastElements</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">cancelEl</span><span class="p">;</span>

        <span class="c1">// Special handling for MacOSX.</span>
        <span class="c1">// - Safari 2.x can&#39;t focus on buttons</span>
        <span class="c1">// - Gecko can&#39;t focus on select boxes or buttons</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">__isMac</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">.</span><span class="nx">webkit</span> <span class="o">&amp;&amp;</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">.</span><span class="nx">webkit</span> <span class="o">&lt;</span> <span class="mi">420</span><span class="p">){</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">monthEl</span><span class="p">;</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">;</span>
            <span class="p">}</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">YAHOO</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">ua</span><span class="p">.</span><span class="nx">gecko</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">;</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">;</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default Keyboard event handler to capture Enter </span>
<span class="cm">     * on the Navigator&#39;s year control (yearEl)</span>
<span class="cm">     * </span>
<span class="cm">     * @method _handleEnterKey</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @param {Event} e The DOM event being handled</span>
<span class="cm">     */</span>
    <span class="nx">_handleEnterKey</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">KEYS</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">KeyListener</span><span class="p">.</span><span class="nx">KEY</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">.</span><span class="nx">getCharCode</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="o">==</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">ENTER</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">submit</span><span class="p">();</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default Keyboard event handler to capture up/down/pgup/pgdown</span>
<span class="cm">     * on the Navigator&#39;s year control (yearEl).</span>
<span class="cm">     * </span>
<span class="cm">     * @method _handleDirectionKeys</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @param {Event} e The DOM event being handled</span>
<span class="cm">     */</span>
    <span class="nx">_handleDirectionKeys</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
            <span class="nx">KEYS</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">KeyListener</span><span class="p">.</span><span class="nx">KEY</span><span class="p">,</span>
            <span class="nx">NAV</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">;</span>

        <span class="kd">var</span> <span class="nx">value</span> <span class="o">=</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span><span class="p">)</span> <span class="o">?</span> <span class="nb">parseInt</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span><span class="p">,</span> <span class="mi">10</span><span class="p">)</span> <span class="o">:</span> <span class="kc">null</span><span class="p">;</span>
        <span class="k">if</span> <span class="p">(</span><span class="nb">isFinite</span><span class="p">(</span><span class="nx">value</span><span class="p">))</span> <span class="p">{</span>
            <span class="kd">var</span> <span class="nx">dir</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>
            <span class="k">switch</span><span class="p">(</span><span class="nx">E</span><span class="p">.</span><span class="nx">getCharCode</span><span class="p">(</span><span class="nx">e</span><span class="p">))</span> <span class="p">{</span>
                <span class="k">case</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">UP</span><span class="o">:</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span> <span class="o">=</span> <span class="nx">value</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YR_MINOR_INC</span><span class="p">;</span>
                    <span class="nx">dir</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                    <span class="k">break</span><span class="p">;</span>
                <span class="k">case</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">DOWN</span><span class="o">:</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="nx">value</span> <span class="o">-</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YR_MINOR_INC</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
                    <span class="nx">dir</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                    <span class="k">break</span><span class="p">;</span>
                <span class="k">case</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">PAGE_UP</span><span class="o">:</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span> <span class="o">=</span> <span class="nx">value</span> <span class="o">+</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YR_MAJOR_INC</span><span class="p">;</span>
                    <span class="nx">dir</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                    <span class="k">break</span><span class="p">;</span>
                <span class="k">case</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">PAGE_DOWN</span><span class="o">:</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">value</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="nx">value</span> <span class="o">-</span> <span class="nx">NAV</span><span class="p">.</span><span class="nx">YR_MAJOR_INC</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
                    <span class="nx">dir</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                    <span class="k">break</span><span class="p">;</span>
                <span class="k">default</span><span class="o">:</span>
                    <span class="k">break</span><span class="p">;</span>
            <span class="p">}</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">dir</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">E</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
                <span class="k">try</span> <span class="p">{</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">yearEl</span><span class="p">.</span><span class="nx">select</span><span class="p">();</span>
                <span class="p">}</span> <span class="k">catch</span><span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
                    <span class="c1">// Ignore</span>
                <span class="p">}</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default Keyboard event handler to capture Tab </span>
<span class="cm">     * on the last control (lastCtrl) in the Navigator.</span>
<span class="cm">     * </span>
<span class="cm">     * @method _handleTabKey</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @param {Event} e The DOM event being handled</span>
<span class="cm">     */</span>
    <span class="nx">_handleTabKey</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
            <span class="nx">KEYS</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">KeyListener</span><span class="p">.</span><span class="nx">KEY</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">E</span><span class="p">.</span><span class="nx">getCharCode</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="o">==</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">TAB</span> <span class="o">&amp;&amp;</span> <span class="o">!</span><span class="nx">e</span><span class="p">.</span><span class="nx">shiftKey</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">try</span> <span class="p">{</span>
                <span class="nx">E</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">firstCtrl</span><span class="p">.</span><span class="nx">focus</span><span class="p">();</span>
            <span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
                <span class="c1">// Ignore - mainly for focus edge cases</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default Keyboard event handler to capture Shift-Tab </span>
<span class="cm">     * on the first control (firstCtrl) in the Navigator.</span>
<span class="cm">     * </span>
<span class="cm">     * @method _handleShiftTabKey</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @param {Event} e The DOM event being handled</span>
<span class="cm">     */</span>
    <span class="nx">_handleShiftTabKey</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">E</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
            <span class="nx">KEYS</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">KeyListener</span><span class="p">.</span><span class="nx">KEY</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">e</span><span class="p">.</span><span class="nx">shiftKey</span> <span class="o">&amp;&amp;</span> <span class="nx">E</span><span class="p">.</span><span class="nx">getCharCode</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="o">==</span> <span class="nx">KEYS</span><span class="p">.</span><span class="nx">TAB</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">try</span> <span class="p">{</span>
                <span class="nx">E</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">lastCtrl</span><span class="p">.</span><span class="nx">focus</span><span class="p">();</span>
            <span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
                <span class="c1">// Ignore - mainly for focus edge cases</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Retrieve Navigator configuration values from </span>
<span class="cm">     * the parent Calendar/CalendarGroup&#39;s config value.</span>
<span class="cm">     * &lt;p&gt;</span>
<span class="cm">     * If it has not been set in the user provided configuration, the method will </span>
<span class="cm">     * return the default value of the configuration property, as set in DEFAULT_CONFIG</span>
<span class="cm">     * &lt;/p&gt;</span>
<span class="cm">     * @private</span>
<span class="cm">     * @method __getCfg</span>
<span class="cm">     * @param {String} Case sensitive property name.</span>
<span class="cm">     * @param {Boolean} true, if the property is a string property, false if not.</span>
<span class="cm">     * @return The value of the configuration property</span>
<span class="cm">     */</span>
    <span class="nx">__getCfg</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">prop</span><span class="p">,</span> <span class="nx">bIsStr</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">DEF_CFG</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">CalendarNavigator</span><span class="p">.</span><span class="nx">DEFAULT_CONFIG</span><span class="p">;</span>
        <span class="kd">var</span> <span class="nx">cfg</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">cal</span><span class="p">.</span><span class="nx">cfg</span><span class="p">.</span><span class="nx">getProperty</span><span class="p">(</span><span class="s2">&quot;navigator&quot;</span><span class="p">);</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">bIsStr</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">return</span> <span class="p">(</span><span class="nx">cfg</span> <span class="o">!==</span> <span class="kc">true</span> <span class="o">&amp;&amp;</span> <span class="nx">cfg</span><span class="p">.</span><span class="nx">strings</span> <span class="o">&amp;&amp;</span> <span class="nx">cfg</span><span class="p">.</span><span class="nx">strings</span><span class="p">[</span><span class="nx">prop</span><span class="p">])</span> <span class="o">?</span> <span class="nx">cfg</span><span class="p">.</span><span class="nx">strings</span><span class="p">[</span><span class="nx">prop</span><span class="p">]</span> <span class="o">:</span> <span class="nx">DEF_CFG</span><span class="p">.</span><span class="nx">strings</span><span class="p">[</span><span class="nx">prop</span><span class="p">];</span>
        <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
            <span class="k">return</span> <span class="p">(</span><span class="nx">cfg</span> <span class="o">!==</span> <span class="kc">true</span> <span class="o">&amp;&amp;</span> <span class="nx">cfg</span><span class="p">[</span><span class="nx">prop</span><span class="p">])</span> <span class="o">?</span> <span class="nx">cfg</span><span class="p">[</span><span class="nx">prop</span><span class="p">]</span> <span class="o">:</span> <span class="nx">DEF_CFG</span><span class="p">[</span><span class="nx">prop</span><span class="p">];</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Private flag, to identify MacOS</span>
<span class="cm">     * @private</span>
<span class="cm">     * @property __isMac</span>
<span class="cm">     */</span>
    <span class="nx">__isMac</span> <span class="o">:</span> <span class="p">(</span><span class="nx">navigator</span><span class="p">.</span><span class="nx">userAgent</span><span class="p">.</span><span class="nx">toLowerCase</span><span class="p">().</span><span class="nx">indexOf</span><span class="p">(</span><span class="s2">&quot;macintosh&quot;</span><span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">)</span>

<span class="p">};</span>
</pre></div>

                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_animation.html" title="animation">animation</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_button.html" title="button">button</a></li>
                                <li class="selected"><a href="module_calendar.html" title="calendar">calendar</a></li>
                                <li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
                                <li class=""><a href="module_connection.html" title="connection">connection</a></li>
                                <li class=""><a href="module_container.html" title="container">container</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_element.html" title="element">element</a></li>
                                <li class=""><a href="module_element-delegate.html" title="element-delegate">element-delegate</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-delegate.html" title="event-delegate">event-delegate</a></li>
                                <li class=""><a href="module_event-mouseenter.html" title="event-mouseenter">event-mouseenter</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_get.html" title="get">get</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_layout.html" title="layout">layout</a></li>
                                <li class=""><a href="module_logger.html" title="logger">logger</a></li>
                                <li class=""><a href="module_menu.html" title="menu">menu</a></li>
                                <li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
                                <li class=""><a href="module_progressbar.html" title="progressbar">progressbar</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_selector.html" title="selector">selector</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_storage.html" title="Storage">Storage</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_swfstore.html" title="swfstore">swfstore</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
                                <li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
                                <li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="YAHOO.widget.Calendar.html" title="YAHOO.widget.Calendar">YAHOO.widget.Calendar</a></li>
                                <li class=""><a href="YAHOO.widget.Calendar2up.html" title="YAHOO.widget.Calendar2up">YAHOO.widget.Calendar2up</a></li>
                                <li class=""><a href="YAHOO.widget.Calendar_Core.html" title="YAHOO.widget.Calendar_Core">YAHOO.widget.Calendar_Core</a></li>
                                <li class=""><a href="YAHOO.widget.CalendarGroup.html" title="YAHOO.widget.CalendarGroup">YAHOO.widget.CalendarGroup</a></li>
                                <li class=""><a href="YAHOO.widget.CalendarNavigator.html" title="YAHOO.widget.CalendarNavigator">YAHOO.widget.CalendarNavigator</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class=""><a href="Calendar.js.html" title="Calendar.js">Calendar.js</a></li>
                                <li class=""><a href="CalendarGroup.js.html" title="CalendarGroup.js">CalendarGroup.js</a></li>
                                <li class="selected"><a href="CalendarNavigator.js.html" title="CalendarNavigator.js">CalendarNavigator.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "", "host": "YAHOO.widget.Calendar", "name": "addMonthRenderer", "url": "YAHOO.widget.Calendar.html#method_addMonthRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "addMonthRenderer", "url": "YAHOO.widget.CalendarGroup.html#method_addMonthRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "addMonths", "url": "YAHOO.widget.Calendar.html#method_addMonths", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "addMonths", "url": "YAHOO.widget.CalendarGroup.html#method_addMonths", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_addRenderer", "url": "YAHOO.widget.Calendar.html#method__addRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "addRenderer", "url": "YAHOO.widget.Calendar.html#method_addRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "addRenderer", "url": "YAHOO.widget.CalendarGroup.html#method_addRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "addWeekdayRenderer", "url": "YAHOO.widget.Calendar.html#method_addWeekdayRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "addWeekdayRenderer", "url": "YAHOO.widget.CalendarGroup.html#method_addWeekdayRenderer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "addYears", "url": "YAHOO.widget.Calendar.html#method_addYears", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "addYears", "url": "YAHOO.widget.CalendarGroup.html#method_addYears", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "applyKeyListeners", "url": "YAHOO.widget.CalendarNavigator.html#method_applyKeyListeners", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "applyListeners", "url": "YAHOO.widget.Calendar.html#method_applyListeners", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "applyListeners", "url": "YAHOO.widget.CalendarNavigator.html#method_applyListeners", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "applyNavListeners", "url": "YAHOO.widget.Calendar.html#method_applyNavListeners", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeDeselectEvent", "url": "YAHOO.widget.Calendar.html#event_beforeDeselectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeDeselectEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeDeselectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeDestroyEvent", "url": "YAHOO.widget.Calendar.html#event_beforeDestroyEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeDestroyEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeDestroyEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeHideEvent", "url": "YAHOO.widget.Calendar.html#event_beforeHideEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeHideEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeHideEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeHideNavEvent", "url": "YAHOO.widget.Calendar.html#event_beforeHideNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeHideNavEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeHideNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeRenderEvent", "url": "YAHOO.widget.Calendar.html#event_beforeRenderEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeRenderEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeRenderEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeRenderNavEvent", "url": "YAHOO.widget.Calendar.html#event_beforeRenderNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeRenderNavEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeRenderNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeSelectEvent", "url": "YAHOO.widget.Calendar.html#event_beforeSelectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeSelectEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeSelectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeShowEvent", "url": "YAHOO.widget.Calendar.html#event_beforeShowEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeShowEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeShowEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "beforeShowNavEvent", "url": "YAHOO.widget.Calendar.html#event_beforeShowNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "beforeShowNavEvent", "url": "YAHOO.widget.CalendarGroup.html#event_beforeShowNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "browser", "url": "YAHOO.widget.Calendar.html#property_browser", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "buildDayLabel", "url": "YAHOO.widget.Calendar.html#method_buildDayLabel", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_buildMonthLabel", "url": "YAHOO.widget.Calendar.html#method__buildMonthLabel", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "buildMonthLabel", "url": "YAHOO.widget.Calendar.html#method_buildMonthLabel", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "buildWeekdays", "url": "YAHOO.widget.Calendar.html#method_buildWeekdays", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "cal", "url": "YAHOO.widget.CalendarNavigator.html#property_cal", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar2up", "name": "Cal2up", "url": "YAHOO.widget.Calendar2up.html#property_Cal2up", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "callChildFunction", "url": "YAHOO.widget.CalendarGroup.html#method_callChildFunction", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "cancel", "url": "YAHOO.widget.CalendarNavigator.html#method_cancel", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "cancelEl", "url": "YAHOO.widget.CalendarNavigator.html#property_cancelEl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "cellDates", "url": "YAHOO.widget.Calendar.html#property_cellDates", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "cells", "url": "YAHOO.widget.Calendar.html#property_cells", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "cfg", "url": "YAHOO.widget.Calendar.html#property_cfg", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "cfg", "url": "YAHOO.widget.CalendarGroup.html#property_cfg", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "changePageEvent", "url": "YAHOO.widget.Calendar.html#event_changePageEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "changePageEvent", "url": "YAHOO.widget.CalendarGroup.html#event_changePageEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "clear", "url": "YAHOO.widget.Calendar.html#method_clear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "clear", "url": "YAHOO.widget.CalendarGroup.html#method_clear", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "clearAllBodyCellStyles", "url": "YAHOO.widget.Calendar.html#method_clearAllBodyCellStyles", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "clearElement", "url": "YAHOO.widget.Calendar.html#method_clearElement", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "clearError", "url": "YAHOO.widget.CalendarNavigator.html#method_clearError", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "clearErrors", "url": "YAHOO.widget.CalendarNavigator.html#method_clearErrors", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "clearEvent", "url": "YAHOO.widget.Calendar.html#event_clearEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "clearEvent", "url": "YAHOO.widget.CalendarGroup.html#event_clearEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "clearYearError", "url": "YAHOO.widget.CalendarNavigator.html#method_clearYearError", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "close", "url": "YAHOO.widget.Calendar.html#config_close", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "close", "url": "YAHOO.widget.CalendarGroup.html#config_close", "type": "config"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "Config", "url": "YAHOO.widget.Calendar.html#property_Config", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configClose", "url": "YAHOO.widget.Calendar.html#method_configClose", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configIframe", "url": "YAHOO.widget.Calendar.html#method_configIframe", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configLocale", "url": "YAHOO.widget.Calendar.html#method_configLocale", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configLocaleValues", "url": "YAHOO.widget.Calendar.html#method_configLocaleValues", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configMaxDate", "url": "YAHOO.widget.Calendar.html#method_configMaxDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configMinDate", "url": "YAHOO.widget.Calendar.html#method_configMinDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configNavigator", "url": "YAHOO.widget.Calendar.html#method_configNavigator", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configOptions", "url": "YAHOO.widget.Calendar.html#method_configOptions", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configPageDate", "url": "YAHOO.widget.Calendar.html#method_configPageDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "configPageDate", "url": "YAHOO.widget.CalendarGroup.html#method_configPageDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "configPages", "url": "YAHOO.widget.CalendarGroup.html#method_configPages", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configSelected", "url": "YAHOO.widget.Calendar.html#method_configSelected", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "configSelected", "url": "YAHOO.widget.CalendarGroup.html#method_configSelected", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configStrings", "url": "YAHOO.widget.Calendar.html#method_configStrings", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configTitle", "url": "YAHOO.widget.Calendar.html#method_configTitle", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "configToday", "url": "YAHOO.widget.Calendar.html#method_configToday", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "constructChild", "url": "YAHOO.widget.CalendarGroup.html#method_constructChild", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "containerId", "url": "YAHOO.widget.Calendar.html#property_containerId", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "containerId", "url": "YAHOO.widget.CalendarGroup.html#property_containerId", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "createCloseButton", "url": "YAHOO.widget.Calendar.html#method_createCloseButton", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "createMask", "url": "YAHOO.widget.CalendarNavigator.html#method_createMask", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "createNav", "url": "YAHOO.widget.CalendarNavigator.html#method_createNav", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "createTitleBar", "url": "YAHOO.widget.Calendar.html#method_createTitleBar", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "DATE_DELIMITER", "url": "YAHOO.widget.Calendar.html#config_DATE_DELIMITER", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "DATE_DELIMITER", "url": "YAHOO.widget.CalendarGroup.html#config_DATE_DELIMITER", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "DATE_FIELD_DELIMITER", "url": "YAHOO.widget.Calendar.html#config_DATE_FIELD_DELIMITER", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "DATE_FIELD_DELIMITER", "url": "YAHOO.widget.CalendarGroup.html#config_DATE_FIELD_DELIMITER", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "DATE_RANGE_DELIMITER", "url": "YAHOO.widget.Calendar.html#config_DATE_RANGE_DELIMITER", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "DATE_RANGE_DELIMITER", "url": "YAHOO.widget.CalendarGroup.html#config_DATE_RANGE_DELIMITER", "type": "config"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_DEFAULT_CFG", "url": "YAHOO.widget.CalendarNavigator.html#property__DEFAULT_CFG", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "DEFAULT_CONFIG", "url": "YAHOO.widget.CalendarNavigator.html#property_DEFAULT_CONFIG", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "delegateConfig", "url": "YAHOO.widget.CalendarGroup.html#method_delegateConfig", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "deselect", "url": "YAHOO.widget.Calendar.html#method_deselect", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "deselect", "url": "YAHOO.widget.CalendarGroup.html#method_deselect", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "deselectAll", "url": "YAHOO.widget.Calendar.html#method_deselectAll", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "deselectAll", "url": "YAHOO.widget.CalendarGroup.html#method_deselectAll", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "deselectCell", "url": "YAHOO.widget.Calendar.html#method_deselectCell", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "deselectCell", "url": "YAHOO.widget.CalendarGroup.html#method_deselectCell", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "deselectEvent", "url": "YAHOO.widget.Calendar.html#event_deselectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "deselectEvent", "url": "YAHOO.widget.CalendarGroup.html#event_deselectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "destroy", "url": "YAHOO.widget.Calendar.html#method_destroy", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "destroy", "url": "YAHOO.widget.CalendarGroup.html#method_destroy", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "destroy", "url": "YAHOO.widget.CalendarNavigator.html#method_destroy", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "destroyEvent", "url": "YAHOO.widget.Calendar.html#event_destroyEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "destroyEvent", "url": "YAHOO.widget.CalendarGroup.html#event_destroyEvent", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_doc", "url": "YAHOO.widget.CalendarNavigator.html#property__doc", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "doCellMouseOut", "url": "YAHOO.widget.Calendar.html#method_doCellMouseOut", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "doCellMouseOver", "url": "YAHOO.widget.Calendar.html#method_doCellMouseOver", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "domEventMap", "url": "YAHOO.widget.Calendar.html#property_domEventMap", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "doNextMonthNav", "url": "YAHOO.widget.Calendar.html#method_doNextMonthNav", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "doPreviousMonthNav", "url": "YAHOO.widget.Calendar.html#method_doPreviousMonthNav", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "doSelectCell", "url": "YAHOO.widget.Calendar.html#method_doSelectCell", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "erase", "url": "YAHOO.widget.CalendarNavigator.html#method_erase", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "errorEl", "url": "YAHOO.widget.CalendarNavigator.html#property_errorEl", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_fieldArraysAreEqual", "url": "YAHOO.widget.Calendar.html#method__fieldArraysAreEqual", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "firstCtrl", "url": "YAHOO.widget.CalendarNavigator.html#property_firstCtrl", "type": "property"}, {"access": "private", "host": "YAHOO.widget.CalendarGroup", "name": "_fixWidth", "url": "YAHOO.widget.CalendarGroup.html#method__fixWidth", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "getCalendarPage", "url": "YAHOO.widget.CalendarGroup.html#method_getCalendarPage", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "getCellIndex", "url": "YAHOO.widget.Calendar.html#method_getCellIndex", "type": "method"}, {"access": "private", "host": "YAHOO.widget.CalendarNavigator", "name": "__getCfg", "url": "YAHOO.widget.CalendarNavigator.html#method___getCfg", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "getDateByCellId", "url": "YAHOO.widget.Calendar.html#method_getDateByCellId", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "getDateFieldsByCellId", "url": "YAHOO.widget.Calendar.html#method_getDateFieldsByCellId", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "getIndexFromId", "url": "YAHOO.widget.Calendar.html#method_getIndexFromId", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "getMonth", "url": "YAHOO.widget.CalendarNavigator.html#method_getMonth", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_getMonthFromUI", "url": "YAHOO.widget.CalendarNavigator.html#method__getMonthFromUI", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "getSelectedDates", "url": "YAHOO.widget.Calendar.html#method_getSelectedDates", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "getSelectedDates", "url": "YAHOO.widget.CalendarGroup.html#method_getSelectedDates", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "getYear", "url": "YAHOO.widget.CalendarNavigator.html#method_getYear", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_getYearFromUI", "url": "YAHOO.widget.CalendarNavigator.html#method__getYearFromUI", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_handleDirectionKeys", "url": "YAHOO.widget.CalendarNavigator.html#method__handleDirectionKeys", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_handleEnterKey", "url": "YAHOO.widget.CalendarNavigator.html#method__handleEnterKey", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_handleShiftTabKey", "url": "YAHOO.widget.CalendarNavigator.html#method__handleShiftTabKey", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_handleTabKey", "url": "YAHOO.widget.CalendarNavigator.html#method__handleTabKey", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "hide", "url": "YAHOO.widget.Calendar.html#method_hide", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "hide", "url": "YAHOO.widget.CalendarNavigator.html#method_hide", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "HIDE_BLANK_WEEKS", "url": "YAHOO.widget.Calendar.html#config_HIDE_BLANK_WEEKS", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "HIDE_BLANK_WEEKS", "url": "YAHOO.widget.CalendarGroup.html#config_HIDE_BLANK_WEEKS", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "hideEvent", "url": "YAHOO.widget.Calendar.html#event_hideEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "hideEvent", "url": "YAHOO.widget.CalendarGroup.html#event_hideEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "hideMask", "url": "YAHOO.widget.CalendarNavigator.html#method_hideMask", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "hideNavEvent", "url": "YAHOO.widget.Calendar.html#event_hideNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "hideNavEvent", "url": "YAHOO.widget.CalendarGroup.html#event_hideNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "id", "url": "YAHOO.widget.Calendar.html#property_id", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "id", "url": "YAHOO.widget.CalendarGroup.html#property_id", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "id", "url": "YAHOO.widget.CalendarNavigator.html#property_id", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "iframe", "url": "YAHOO.widget.Calendar.html#config_iframe", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "iframe", "url": "YAHOO.widget.CalendarGroup.html#config_iframe", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "index", "url": "YAHOO.widget.Calendar.html#property_index", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_indexOfSelectedFieldArray", "url": "YAHOO.widget.Calendar.html#method__indexOfSelectedFieldArray", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "init", "url": "YAHOO.widget.Calendar.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "init", "url": "YAHOO.widget.CalendarGroup.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "init", "url": "YAHOO.widget.CalendarNavigator.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "initEvents", "url": "YAHOO.widget.Calendar.html#method_initEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "initEvents", "url": "YAHOO.widget.CalendarGroup.html#method_initEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "initStyles", "url": "YAHOO.widget.Calendar.html#method_initStyles", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "isDateOOB", "url": "YAHOO.widget.Calendar.html#method_isDateOOB", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "isDateOOM", "url": "YAHOO.widget.Calendar.html#method_isDateOOM", "type": "method"}, {"access": "private", "host": "YAHOO.widget.CalendarNavigator", "name": "__isIEQuirks", "url": "YAHOO.widget.CalendarNavigator.html#property___isIEQuirks", "type": "property"}, {"access": "private", "host": "YAHOO.widget.CalendarNavigator", "name": "__isMac", "url": "YAHOO.widget.CalendarNavigator.html#property___isMac", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "lastCtrl", "url": "YAHOO.widget.CalendarNavigator.html#property_lastCtrl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Locale", "url": "YAHOO.widget.Calendar.html#property_Locale", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "Locale", "url": "YAHOO.widget.CalendarGroup.html#property_Locale", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "LOCALE_MONTHS", "url": "YAHOO.widget.Calendar.html#config_LOCALE_MONTHS", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "LOCALE_MONTHS", "url": "YAHOO.widget.CalendarGroup.html#config_LOCALE_MONTHS", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "LOCALE_WEEKDAYS", "url": "YAHOO.widget.Calendar.html#config_LOCALE_WEEKDAYS", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "LOCALE_WEEKDAYS", "url": "YAHOO.widget.CalendarGroup.html#config_LOCALE_WEEKDAYS", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "maskEl", "url": "YAHOO.widget.CalendarNavigator.html#property_maskEl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "maxdate", "url": "YAHOO.widget.Calendar.html#config_maxdate", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "maxdate", "url": "YAHOO.widget.CalendarGroup.html#config_maxdate", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MD_DAY_POSITION", "url": "YAHOO.widget.Calendar.html#config_MD_DAY_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MD_DAY_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MD_DAY_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MD_MONTH_POSITION", "url": "YAHOO.widget.Calendar.html#config_MD_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MD_MONTH_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MD_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MDY_DAY_POSITION", "url": "YAHOO.widget.Calendar.html#config_MDY_DAY_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MDY_DAY_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MDY_DAY_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MDY_MONTH_POSITION", "url": "YAHOO.widget.Calendar.html#config_MDY_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MDY_MONTH_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MDY_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MDY_YEAR_POSITION", "url": "YAHOO.widget.Calendar.html#config_MDY_YEAR_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MDY_YEAR_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MDY_YEAR_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "mindate", "url": "YAHOO.widget.Calendar.html#config_mindate", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "mindate", "url": "YAHOO.widget.CalendarGroup.html#config_mindate", "type": "config"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_month", "url": "YAHOO.widget.CalendarNavigator.html#property__month", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "monthEl", "url": "YAHOO.widget.CalendarNavigator.html#property_monthEl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MONTHS_LONG", "url": "YAHOO.widget.Calendar.html#config_MONTHS_LONG", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MONTHS_LONG", "url": "YAHOO.widget.CalendarGroup.html#config_MONTHS_LONG", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MONTHS_SHORT", "url": "YAHOO.widget.Calendar.html#config_MONTHS_SHORT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MONTHS_SHORT", "url": "YAHOO.widget.CalendarGroup.html#config_MONTHS_SHORT", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MULTI_SELECT", "url": "YAHOO.widget.Calendar.html#config_MULTI_SELECT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MULTI_SELECT", "url": "YAHOO.widget.CalendarGroup.html#config_MULTI_SELECT", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MY_LABEL_MONTH_POSITION", "url": "YAHOO.widget.Calendar.html#config_MY_LABEL_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MY_LABEL_MONTH_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MY_LABEL_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MY_LABEL_MONTH_SUFFIX", "url": "YAHOO.widget.Calendar.html#config_MY_LABEL_MONTH_SUFFIX", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MY_LABEL_MONTH_SUFFIX", "url": "YAHOO.widget.CalendarGroup.html#config_MY_LABEL_MONTH_SUFFIX", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MY_LABEL_YEAR_POSITION", "url": "YAHOO.widget.Calendar.html#config_MY_LABEL_YEAR_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MY_LABEL_YEAR_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MY_LABEL_YEAR_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MY_LABEL_YEAR_SUFFIX", "url": "YAHOO.widget.Calendar.html#config_MY_LABEL_YEAR_SUFFIX", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MY_LABEL_YEAR_SUFFIX", "url": "YAHOO.widget.CalendarGroup.html#config_MY_LABEL_YEAR_SUFFIX", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MY_MONTH_POSITION", "url": "YAHOO.widget.Calendar.html#config_MY_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MY_MONTH_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MY_MONTH_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "MY_YEAR_POSITION", "url": "YAHOO.widget.Calendar.html#config_MY_YEAR_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "MY_YEAR_POSITION", "url": "YAHOO.widget.CalendarGroup.html#config_MY_YEAR_POSITION", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "NAV_ARROW_LEFT", "url": "YAHOO.widget.Calendar.html#config_NAV_ARROW_LEFT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "NAV_ARROW_LEFT", "url": "YAHOO.widget.CalendarGroup.html#config_NAV_ARROW_LEFT", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "NAV_ARROW_RIGHT", "url": "YAHOO.widget.Calendar.html#config_NAV_ARROW_RIGHT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "NAV_ARROW_RIGHT", "url": "YAHOO.widget.CalendarGroup.html#config_NAV_ARROW_RIGHT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "navEl", "url": "YAHOO.widget.CalendarNavigator.html#property_navEl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "navigator", "url": "YAHOO.widget.Calendar.html#config_navigator", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "navigator", "url": "YAHOO.widget.CalendarGroup.html#config_navigator", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "nextMonth", "url": "YAHOO.widget.Calendar.html#method_nextMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "nextMonth", "url": "YAHOO.widget.CalendarGroup.html#method_nextMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "nextYear", "url": "YAHOO.widget.Calendar.html#method_nextYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "nextYear", "url": "YAHOO.widget.CalendarGroup.html#method_nextYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "oDomContainer", "url": "YAHOO.widget.Calendar.html#property_oDomContainer", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "oNavigator", "url": "YAHOO.widget.Calendar.html#property_oNavigator", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onBeforeDeselect", "url": "YAHOO.widget.Calendar.html#method_onBeforeDeselect", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onBeforeSelect", "url": "YAHOO.widget.Calendar.html#method_onBeforeSelect", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onChangePage", "url": "YAHOO.widget.Calendar.html#method_onChangePage", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onClear", "url": "YAHOO.widget.Calendar.html#method_onClear", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onDeselect", "url": "YAHOO.widget.Calendar.html#method_onDeselect", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onRender", "url": "YAHOO.widget.Calendar.html#method_onRender", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onReset", "url": "YAHOO.widget.Calendar.html#method_onReset", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "onSelect", "url": "YAHOO.widget.Calendar.html#method_onSelect", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "OOM_SELECT", "url": "YAHOO.widget.Calendar.html#config_OOM_SELECT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "OOM_SELECT", "url": "YAHOO.widget.CalendarGroup.html#config_OOM_SELECT", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Options", "url": "YAHOO.widget.Calendar.html#property_Options", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "Options", "url": "YAHOO.widget.CalendarGroup.html#property_Options", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "pagedate", "url": "YAHOO.widget.Calendar.html#config_pagedate", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "pagedate", "url": "YAHOO.widget.CalendarGroup.html#config_pagedate", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "pages", "url": "YAHOO.widget.CalendarGroup.html#property_pages", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "pages", "url": "YAHOO.widget.CalendarGroup.html#config_pages", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "parent", "url": "YAHOO.widget.Calendar.html#property_parent", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Calendar", "name": "_parseArgs", "url": "YAHOO.widget.Calendar.html#method__parseArgs", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_parseDate", "url": "YAHOO.widget.Calendar.html#method__parseDate", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_parseDates", "url": "YAHOO.widget.Calendar.html#method__parseDates", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_parsePageDate", "url": "YAHOO.widget.Calendar.html#method__parsePageDate", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_parseRange", "url": "YAHOO.widget.Calendar.html#method__parseRange", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "previousMonth", "url": "YAHOO.widget.Calendar.html#method_previousMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "previousMonth", "url": "YAHOO.widget.CalendarGroup.html#method_previousMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "previousYear", "url": "YAHOO.widget.Calendar.html#method_previousYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "previousYear", "url": "YAHOO.widget.CalendarGroup.html#method_previousYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "purgeKeyListeners", "url": "YAHOO.widget.CalendarNavigator.html#method_purgeKeyListeners", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "purgeListeners", "url": "YAHOO.widget.CalendarNavigator.html#method_purgeListeners", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "refreshLocale", "url": "YAHOO.widget.Calendar.html#method_refreshLocale", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "removeCloseButton", "url": "YAHOO.widget.Calendar.html#method_removeCloseButton", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "removeRenderers", "url": "YAHOO.widget.Calendar.html#method_removeRenderers", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "removeRenderers", "url": "YAHOO.widget.CalendarGroup.html#method_removeRenderers", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "removeTitleBar", "url": "YAHOO.widget.Calendar.html#method_removeTitleBar", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "render", "url": "YAHOO.widget.Calendar.html#method_render", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "render", "url": "YAHOO.widget.CalendarGroup.html#method_render", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "render", "url": "YAHOO.widget.CalendarNavigator.html#method_render", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderBody", "url": "YAHOO.widget.Calendar.html#method_renderBody", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderBodyCellRestricted", "url": "YAHOO.widget.Calendar.html#method_renderBodyCellRestricted", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "renderButtons", "url": "YAHOO.widget.CalendarNavigator.html#method_renderButtons", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellDefault", "url": "YAHOO.widget.Calendar.html#method_renderCellDefault", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellNotThisMonth", "url": "YAHOO.widget.Calendar.html#method_renderCellNotThisMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellStyleHighlight1", "url": "YAHOO.widget.Calendar.html#method_renderCellStyleHighlight1", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellStyleHighlight2", "url": "YAHOO.widget.Calendar.html#method_renderCellStyleHighlight2", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellStyleHighlight3", "url": "YAHOO.widget.Calendar.html#method_renderCellStyleHighlight3", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellStyleHighlight4", "url": "YAHOO.widget.Calendar.html#method_renderCellStyleHighlight4", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellStyleSelected", "url": "YAHOO.widget.Calendar.html#method_renderCellStyleSelected", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderCellStyleToday", "url": "YAHOO.widget.Calendar.html#method_renderCellStyleToday", "type": "method"}, {"access": "private", "host": "YAHOO.widget.CalendarNavigator", "name": "__rendered", "url": "YAHOO.widget.CalendarNavigator.html#property___rendered", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderEvent", "url": "YAHOO.widget.Calendar.html#event_renderEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "renderEvent", "url": "YAHOO.widget.CalendarGroup.html#event_renderEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderFooter", "url": "YAHOO.widget.Calendar.html#method_renderFooter", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "renderFooter", "url": "YAHOO.widget.CalendarGroup.html#method_renderFooter", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderHeader", "url": "YAHOO.widget.Calendar.html#method_renderHeader", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "renderHeader", "url": "YAHOO.widget.CalendarGroup.html#method_renderHeader", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "renderNavContents", "url": "YAHOO.widget.CalendarNavigator.html#method_renderNavContents", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderNavEvent", "url": "YAHOO.widget.Calendar.html#event_renderNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "renderNavEvent", "url": "YAHOO.widget.CalendarGroup.html#event_renderNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderOutOfBoundsDate", "url": "YAHOO.widget.Calendar.html#method_renderOutOfBoundsDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderRowFooter", "url": "YAHOO.widget.Calendar.html#method_renderRowFooter", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderRowHeader", "url": "YAHOO.widget.Calendar.html#method_renderRowHeader", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_renderStack", "url": "YAHOO.widget.Calendar.html#property__renderStack", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "renderStack", "url": "YAHOO.widget.Calendar.html#property_renderStack", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "renderYear", "url": "YAHOO.widget.CalendarNavigator.html#method_renderYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "reset", "url": "YAHOO.widget.Calendar.html#method_reset", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "reset", "url": "YAHOO.widget.CalendarGroup.html#method_reset", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "resetEvent", "url": "YAHOO.widget.Calendar.html#event_resetEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "resetEvent", "url": "YAHOO.widget.CalendarGroup.html#event_resetEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "resetRenderers", "url": "YAHOO.widget.Calendar.html#method_resetRenderers", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "select", "url": "YAHOO.widget.Calendar.html#method_select", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "select", "url": "YAHOO.widget.CalendarGroup.html#method_select", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "selectCell", "url": "YAHOO.widget.Calendar.html#method_selectCell", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "selectCell", "url": "YAHOO.widget.CalendarGroup.html#method_selectCell", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "selected", "url": "YAHOO.widget.Calendar.html#config_selected", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "selected", "url": "YAHOO.widget.CalendarGroup.html#config_selected", "type": "config"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_selectedDates", "url": "YAHOO.widget.Calendar.html#property__selectedDates", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "selectEvent", "url": "YAHOO.widget.Calendar.html#event_selectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "selectEvent", "url": "YAHOO.widget.CalendarGroup.html#event_selectEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "setChildFunction", "url": "YAHOO.widget.CalendarGroup.html#method_setChildFunction", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "setError", "url": "YAHOO.widget.CalendarNavigator.html#method_setError", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_setFirstLastElements", "url": "YAHOO.widget.CalendarNavigator.html#method__setFirstLastElements", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "setInitialFocus", "url": "YAHOO.widget.CalendarNavigator.html#method_setInitialFocus", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "setMonth", "url": "YAHOO.widget.Calendar.html#method_setMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "setMonth", "url": "YAHOO.widget.CalendarGroup.html#method_setMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "setMonth", "url": "YAHOO.widget.CalendarNavigator.html#method_setMonth", "type": "method"}, {"access": "private", "host": "YAHOO.widget.CalendarGroup", "name": "_setMonthOnDate", "url": "YAHOO.widget.CalendarGroup.html#method__setMonthOnDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "setYear", "url": "YAHOO.widget.Calendar.html#method_setYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "setYear", "url": "YAHOO.widget.CalendarGroup.html#method_setYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "setYear", "url": "YAHOO.widget.CalendarNavigator.html#method_setYear", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "setYearError", "url": "YAHOO.widget.CalendarNavigator.html#method_setYearError", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "show", "url": "YAHOO.widget.Calendar.html#method_show", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_show", "url": "YAHOO.widget.CalendarNavigator.html#method__show", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "show", "url": "YAHOO.widget.CalendarNavigator.html#method_show", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "showEvent", "url": "YAHOO.widget.Calendar.html#event_showEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "showEvent", "url": "YAHOO.widget.CalendarGroup.html#event_showEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "showMask", "url": "YAHOO.widget.CalendarNavigator.html#method_showMask", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "showNavEvent", "url": "YAHOO.widget.Calendar.html#event_showNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "showNavEvent", "url": "YAHOO.widget.CalendarGroup.html#event_showNavEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "SHOW_WEEKDAYS", "url": "YAHOO.widget.Calendar.html#config_SHOW_WEEKDAYS", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "SHOW_WEEKDAYS", "url": "YAHOO.widget.CalendarGroup.html#config_SHOW_WEEKDAYS", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "SHOW_WEEK_FOOTER", "url": "YAHOO.widget.Calendar.html#config_SHOW_WEEK_FOOTER", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "SHOW_WEEK_FOOTER", "url": "YAHOO.widget.CalendarGroup.html#config_SHOW_WEEK_FOOTER", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "SHOW_WEEK_HEADER", "url": "YAHOO.widget.Calendar.html#config_SHOW_WEEK_HEADER", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "SHOW_WEEK_HEADER", "url": "YAHOO.widget.CalendarGroup.html#config_SHOW_WEEK_HEADER", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "START_WEEKDAY", "url": "YAHOO.widget.Calendar.html#config_START_WEEKDAY", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "START_WEEKDAY", "url": "YAHOO.widget.CalendarGroup.html#config_START_WEEKDAY", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "strings", "url": "YAHOO.widget.Calendar.html#config_strings", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "strings", "url": "YAHOO.widget.CalendarGroup.html#config_strings", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "styleCellDefault", "url": "YAHOO.widget.Calendar.html#method_styleCellDefault", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "styleCellNotThisMonth", "url": "YAHOO.widget.Calendar.html#method_styleCellNotThisMonth", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_BODY", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_BODY", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CALENDAR", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CALENDAR", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_BOTTOM", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_BOTTOM", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_HIGHLIGHT1", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_HIGHLIGHT1", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_HIGHLIGHT2", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_HIGHLIGHT2", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_HIGHLIGHT3", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_HIGHLIGHT3", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_HIGHLIGHT4", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_HIGHLIGHT4", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_HOVER", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_HOVER", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_LEFT", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_LEFT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_OOB", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_OOB", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_OOM", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_OOM", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_RESTRICTED", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_RESTRICTED", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_RIGHT", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_RIGHT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_SELECTABLE", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_SELECTABLE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_SELECTED", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_SELECTED", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_SELECTOR", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_SELECTOR", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_TODAY", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_TODAY", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CELL_TOP", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CELL_TOP", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CLOSE", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CLOSE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_CONTAINER", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_CONTAINER", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_FIXED_SIZE", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_FIXED_SIZE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_FOOTER", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_FOOTER", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_HEADER", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_HEADER", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_HEADER_TEXT", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_HEADER_TEXT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_LINK_CLOSE", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_LINK_CLOSE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_NAV", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_NAV", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_NAV_LEFT", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_NAV_LEFT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_NAV_RIGHT", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_NAV_RIGHT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_ROW_FOOTER", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_ROW_FOOTER", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_ROW_HEADER", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_ROW_HEADER", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_SINGLE", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_SINGLE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_WEEKDAY_CELL", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_WEEKDAY_CELL", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_WEEKDAY_ROW", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_WEEKDAY_ROW", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "Style.CSS_WITH_TITLE", "url": "YAHOO.widget.Calendar.html#property_Style.CSS_WITH_TITLE", "type": "property"}, {"access": "private", "host": "YAHOO.widget.CalendarGroup", "name": "sub", "url": "YAHOO.widget.CalendarGroup.html#method_sub", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "submit", "url": "YAHOO.widget.CalendarNavigator.html#method_submit", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "submitEl", "url": "YAHOO.widget.CalendarNavigator.html#property_submitEl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "subtractMonths", "url": "YAHOO.widget.Calendar.html#method_subtractMonths", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "subtractMonths", "url": "YAHOO.widget.CalendarGroup.html#method_subtractMonths", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "subtractYears", "url": "YAHOO.widget.Calendar.html#method_subtractYears", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "subtractYears", "url": "YAHOO.widget.CalendarGroup.html#method_subtractYears", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_syncMask", "url": "YAHOO.widget.CalendarNavigator.html#method__syncMask", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "title", "url": "YAHOO.widget.Calendar.html#config_title", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "title", "url": "YAHOO.widget.CalendarGroup.html#config_title", "type": "config"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_toDate", "url": "YAHOO.widget.Calendar.html#method__toDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "toDate", "url": "YAHOO.widget.Calendar.html#method_toDate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "today", "url": "YAHOO.widget.Calendar.html#property_today", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "today", "url": "YAHOO.widget.Calendar.html#config_today", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "today", "url": "YAHOO.widget.CalendarGroup.html#config_today", "type": "config"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "_toFieldArray", "url": "YAHOO.widget.Calendar.html#method__toFieldArray", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "toString", "url": "YAHOO.widget.Calendar.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "toString", "url": "YAHOO.widget.CalendarGroup.html#method_toString", "type": "method"}, {"access": "private", "host": "YAHOO.widget.CalendarGroup", "name": "unsub", "url": "YAHOO.widget.CalendarGroup.html#method_unsub", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_update", "url": "YAHOO.widget.CalendarNavigator.html#method__update", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_updateMonthUI", "url": "YAHOO.widget.CalendarNavigator.html#method__updateMonthUI", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_updateYearUI", "url": "YAHOO.widget.CalendarNavigator.html#method__updateYearUI", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "validate", "url": "YAHOO.widget.Calendar.html#method_validate", "type": "method"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "validate", "url": "YAHOO.widget.CalendarNavigator.html#method_validate", "type": "method"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "WEEKDAYS_1CHAR", "url": "YAHOO.widget.Calendar.html#config_WEEKDAYS_1CHAR", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "WEEKDAYS_1CHAR", "url": "YAHOO.widget.CalendarGroup.html#config_WEEKDAYS_1CHAR", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "WEEKDAYS_LONG", "url": "YAHOO.widget.Calendar.html#config_WEEKDAYS_LONG", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "WEEKDAYS_LONG", "url": "YAHOO.widget.CalendarGroup.html#config_WEEKDAYS_LONG", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "WEEKDAYS_MEDIUM", "url": "YAHOO.widget.Calendar.html#config_WEEKDAYS_MEDIUM", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "WEEKDAYS_MEDIUM", "url": "YAHOO.widget.CalendarGroup.html#config_WEEKDAYS_MEDIUM", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "WEEKDAYS_SHORT", "url": "YAHOO.widget.Calendar.html#config_WEEKDAYS_SHORT", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "WEEKDAYS_SHORT", "url": "YAHOO.widget.CalendarGroup.html#config_WEEKDAYS_SHORT", "type": "config"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.DATE", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.DATE", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar._DEFAULT_CONFIG", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar._DEFAULT_CONFIG", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.DEFAULT_CONFIG", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.DEFAULT_CONFIG", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.DISPLAY_DAYS", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.DISPLAY_DAYS", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar._EVENT_TYPES", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar._EVENT_TYPES", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "YAHOO.widget.CalendarGroup.CSS_2UPCLOSE", "url": "YAHOO.widget.CalendarGroup.html#property_YAHOO.widget.CalendarGroup.CSS_2UPCLOSE", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "YAHOO.widget.CalendarGroup.CSS_2UPTITLE", "url": "YAHOO.widget.CalendarGroup.html#property_YAHOO.widget.CalendarGroup.CSS_2UPTITLE", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "YAHOO.widget.CalendarGroup.CSS_CONTAINER", "url": "YAHOO.widget.CalendarGroup.html#property_YAHOO.widget.CalendarGroup.CSS_CONTAINER", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "YAHOO.widget.CalendarGroup.CSS_MULTI_UP", "url": "YAHOO.widget.CalendarGroup.html#property_YAHOO.widget.CalendarGroup.CSS_MULTI_UP", "type": "property"}, {"access": "private", "host": "YAHOO.widget.CalendarGroup", "name": "YAHOO.widget.CalendarGroup._DEFAULT_CONFIG", "url": "YAHOO.widget.CalendarGroup.html#property_YAHOO.widget.CalendarGroup._DEFAULT_CONFIG", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "YAHOO.widget.CalendarGroup.DEFAULT_CONFIG", "url": "YAHOO.widget.CalendarGroup.html#property_YAHOO.widget.CalendarGroup.DEFAULT_CONFIG", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.IMG_ROOT", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.IMG_ROOT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.LONG", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.LONG", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.MEDIUM", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.MEDIUM", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.MONTH", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.MONTH", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.MONTH_DAY", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.MONTH_DAY", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CANCEL_SUFFIX", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CANCEL_SUFFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.BUTTON", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.BUTTON", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.BUTTONS", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.BUTTONS", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.DEFAULT", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.DEFAULT", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.ERROR", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.ERROR", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.INVALID", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.INVALID", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.MASK", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.MASK", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.MONTH", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.MONTH", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.MONTH_CTRL", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.MONTH_CTRL", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.NAV", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.NAV", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.NAV_VISIBLE", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.NAV_VISIBLE", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.YEAR", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.YEAR", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.CLASSES.YEAR_CTRL", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.CLASSES.YEAR_CTRL", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.ERROR_SUFFIX", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.ERROR_SUFFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.ID_SUFFIX", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.ID_SUFFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.MONTH_SUFFIX", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.MONTH_SUFFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.SUBMIT_SUFFIX", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.SUBMIT_SUFFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.TRIM", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.TRIM", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.UPDATE_DELAY", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.UPDATE_DELAY", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.YEAR_SUFFIX", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.YEAR_SUFFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.YR_MAJOR_INC", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.YR_MAJOR_INC", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.YR_MAX_DIGITS", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.YR_MAX_DIGITS", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.YR_MINOR_INC", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.YR_MINOR_INC", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "YAHOO.widget.CalendarNavigator.YR_PATTERN", "url": "YAHOO.widget.CalendarNavigator.html#property_YAHOO.widget.CalendarNavigator.YR_PATTERN", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.ONE_CHAR", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.ONE_CHAR", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.RANGE", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.RANGE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.SHORT", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.SHORT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.STOP_RENDER", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.STOP_RENDER", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar._STYLES", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar._STYLES", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.STYLES", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.STYLES", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YAHOO.widget.Calendar.WEEKDAY", "url": "YAHOO.widget.Calendar.html#property_YAHOO.widget.Calendar.WEEKDAY", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.CalendarNavigator", "name": "_year", "url": "YAHOO.widget.CalendarNavigator.html#property__year", "type": "property"}, {"access": "", "host": "YAHOO.widget.CalendarNavigator", "name": "yearEl", "url": "YAHOO.widget.CalendarNavigator.html#property_yearEl", "type": "property"}, {"access": "", "host": "YAHOO.widget.Calendar", "name": "YEAR_OFFSET", "url": "YAHOO.widget.Calendar.html#config_YEAR_OFFSET", "type": "config"}, {"access": "", "host": "YAHOO.widget.CalendarGroup", "name": "year_offset", "url": "YAHOO.widget.CalendarGroup.html#config_year_offset", "type": "config"}];
</script>
</body>
</html>
